package com.stardust.service;

import com.stardust.pojo.Questions;
import com.stardust.pojo.ResultControl;

/**
 * 问题操作服务接口
 */
public interface QuestionService {
    public ResultControl add(Questions questions);//添加问题
    public ResultControl delete(Integer id);//删除问题
    public ResultControl update(Questions questions);//更改问题
    public ResultControl query(String title, Integer page ,Integer size);//
    public ResultControl searchByID(Integer id);//通过id查询
}
